<form class="form-horizontal" id="mainForm" action="/${orgi}/design/custom/resetreport/${reportid!''}.html<#if modelid??>?modelid=${modelid}</#if>" method="post">
	<table class="table_style_1">
		<thead>
			<tr>
				<th style="padding-left:21px;"><i class="verMidWrap">名称</i><i class="tbArrow"></i></th>
				<th class="minSize"><i class="verMidWrap">类型</i><i class="tbArrow"></i></th>
				<th class="minSize"><i class="verMidWrap">创建时间</i><i class="tbArrow"></i></th>
				
			</tr>
		</thead>
		<tbody>
			<#if cubeList??>
			<#list cubeList as cube>
			<tr>
				<td><label><input type="radio" name="cubeid" value="${cube.id!''}"/>${cube.name!""}</label></td>
				<td class="minSize"><#if cube.dstype == "cube">立方体<#elseif cube.dstype == "table">数据表<#else>R3 rivuES</#if></td>
				<td class="minSize">${cube.createtime?string('yyyy-MM-dd HH:mm:ss')}</td>
			</tr>
			</#list>
			</#if>
		</tbody>
	</table>
	<script language="javascript"> 	
		var zNodes =[
			{ id:'0', pId:0, name:"<#if type == 'pub'>公共文件夹<#else>个人文件夹</#if>", open:true, icon:"/assets/images/icon-file-closed.png",click:"loadURL('/${orgi}/design/custom/cubedic/0.html?tabid=${type!'pub'}','#cubeList',function(){hideMenu();})"}
			<#if cubePackageList??>
			<#list cubePackageList as cubePackage>
			,{ id:"${cubePackage.id!''}", pId:"${cubePackage.parentid!''}", name:"${cubePackage.name!''}", icon:"/assets/images/icon-file-closed.png",click:"loadURL('/${orgi}/design/custom/cubedic/${cubePackage.id!''}.html?tabid=${type!'pub'}','#cubeList',function(){hideMenu();})"}
			</#list>
			</#if>
		];
		$(document).ready(function(){
			var ztree = $.fn.zTree.init($("#treeDemo"), setting, zNodes);
			ztree.selectNode(ztree.getNodeByParam("id", "${dicid!''}", null));
		});
	</script>
</form>